package org.nf.web.servlet;

import jakarta.servlet.ServletException;

import java.io.IOException;
import java.rmi.server.ServerCloneException;

/**
 * @Author czl
 * @Date 2024-05-20
 */
public interface View {
    /**
     * 抽象的渲染方法
     * @param api
     * @throws ServletException
     * @throws IOException
     */
    void render(ServletApi api) throws ServletException, IOException;
}
